package com.yl.project.lvyou.user.domain;

import com.yl.project.system.dict.domain.DictData;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.framework.aspectj.lang.annotation.Excel;
import javax.persistence.*;
import com.yl.framework.web.domain.BaseEntity;

import java.util.List;

/**
 * 用户信息对象 scenic_user
 * 
 * @author yl
 * @date 2025-03-13
 */
@Table(name="scenic_user")
public class ScenicUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /** 头像URL */
    @Excel(name = "头像URL")

    @Column(name = "avatar")
    private String avatar;
    /** 用户名 */
    @Excel(name = "用户名")

    @Column(name = "username")
    private String username;
    /** 密码 */
    @Column(name = "password")
    private String password;
    /** 性别 */
    @Excel(name = "性别")

    @Column(name = "sex")
    private String sex;
    /** 年龄 */
    @Excel(name = "年龄")

    @Column(name = "age")
    private String age;
    /** 手机号 */
    @Excel(name = "手机号")

    @Column(name = "mobile")
    private String mobile;
    /** 邮箱 */
    @Excel(name = "邮箱")

    @Column(name = "email")
    private String email;
    @Column(name = "travelPreferences")
    private String travelPreferences;

    private List<DictData> DictData;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public String getTravelPreferences() {
        return travelPreferences;
    }

    public void setTravelPreferences(String travelPreferences) {
        this.travelPreferences = travelPreferences;
    }

    public List<com.yl.project.system.dict.domain.DictData> getDictData() {
        return DictData;
    }

    public void setDictData(List<com.yl.project.system.dict.domain.DictData> dictData) {
        DictData = dictData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("avatar", getAvatar())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("sex", getSex())
            .append("age", getAge())
            .append("mobile", getMobile())
            .append("email", getEmail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("travelPreferences", getTravelPreferences())
            .toString();
    }
}
